package com.eatme.core.design.pattern.creational.singleton;

public enum EnumInstance {
    INSTANCE {
        protected void  printTest() {
            System.out.println("dk Print Test");
        }
    };

    protected abstract void printTest();

    private  Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static EnumInstance getInstance() {
        return INSTANCE;
    }
}
